<link href="/css/oa/content.css" media="screen" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
	var loadingCount = 0;

	function showPage(url){
		$("#taskview *").remove();
		showLoading();
		$.post("/oa/getPage", {'authName' : url}, function(data){
			$("#taskview").html(data);
			hideLoading();
		});
	}

	function showLoading(){
		loadingCount ++;
		$("#infobar #loading_notify").show();
	}

	function hideLoading(){
		loadingCount --;
		if (loadingCount == 0) $("#infobar #loading_notify").hide();
	}
</script>
<div id="infobar">
	<div id="loading_notify" style="display:none;">
		正在载入...
	</div>
</div>
<div id="tasklist">
	<%include file="tasklist.mako"/>
</div>
<div id="taskview">
</div>
